package com.swt.gap.dao;

import com.swt.gap.model.entity.AchievementTastResult;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface AchievementTastResultMapper {
    int insert(AchievementTastResult record);

    int insertSelective(AchievementTastResult record);

    List<AchievementTastResult> selectByAchievementId(Integer achievementId);

    int insertBanch(@Param("achievementId") Integer achievementId,@Param("taskResultIds") List<Integer> taskResultIds);

    int deleteBatch(Integer achievementId);
}